client/New()
   var/savefile/F = new("saves/[ckey]")
   F >> usr
   return ..()

client/Del()
	var/savefile/F = new("saves/[ckey]")
	F << usr
	del(usr)


mob/Write(savefile/F)
      s_x = x
      s_y = y
      s_z = z
      ..() //store variables
mob/Read(savefile/F)
      ..() //restore variables
      src.loc=locate(s_x,s_y,s_z)



mob/Login()
	usr.Skill_Check()
	SaveFile.cd = "/saves/"  //make sure we are at the root
	if(ckey in SaveFile.dir)
		SaveFile.cd = ckey
		Read(SaveFile)
		usr << "Welcome back, [name]!"
	..()